# -*- coding: utf-8 -*-
# @Time    : 2022/10/9 20:27
# @Author  : 修远
# @File    : Result.py
# @Comment : 
from dataclasses import dataclass, field
from typing import TypeVar, Generic

T = TypeVar('T')


@dataclass
class Result(Generic[T]):
    resultCode: int = field(init=True)
    resultMag: str = field(init=True)
    result: T = field(init=True, default_factory=dict)
